package com.linck.im.client.context;

import com.linck.im.model.entity.Account;

import java.util.ArrayList;
import java.util.List;

/**
 * 登录用户缓存
 *
 * @author: linck
 * @create: 2021-01-26
 */
public class AccountContext {

    /**
     * 当前登录账户
     */
    public volatile static String account = "";

    public volatile static String toAccount = "";
    /**
     * 好友列表
     */
    public static List<Account> accountList = new ArrayList<>();
    /**
     * 登录状态
     * -1 登录失败
     * 0 未登录
     * 1 登录成功
     */
    public static int LOGIN_STATUS = 0;

}
